Skip to content

Conversation

@thibault
Copy link
Collaborator

@thibault thibault commented Jan 9, 2026

Il y avait une boucle inutile dans le template, dont le seul but était de sélectionner une des réglementations de la liste.

@thibault thibault requested a review from pyDez January 9, 2026 09:47
@tristanrobert
Copy link

tristanrobert commented Jan 9, 2026

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.


<a class="fr-btn fr-icon-arrow-right-line fr-btn--icon-right"
href="{% url 'petition_project_instructor_dossier_complet_view' petition_project.reference %}">Voir le dossier complet</a>
<section class="fr-my-3w" id="moulinette-regulation-result">
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

J'ai simplement supprimé les deux lignes {% for … %} {% if regulation.slug… %}. Le reste du diff est simplement la mise à jour de l'identation du template.

Copy link
Collaborator

@pyDez pyDez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator

@numahell numahell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

T'as dû le voir, il y a un test e2e qui plante sur la régulation espèces protégées.

@thibault thibault force-pushed the refactor_get_regulation branch from 841a889 to 1a155a1 Compare January 12, 2026 13:21
@thibault thibault merged commit 7415c78 into main Jan 12, 2026
9 checks passed
@thibault thibault deleted the refactor_get_regulation branch January 12, 2026 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants